package com.ld.security.server.blog.modules.cms.vo;

import com.ld.security.common.core.base.SuperVo;
import com.ld.security.common.mybatis.anno.QueryKey;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.server.blog.modules.cms.entity.CmsCollectEntity;
import com.ld.security.server.blog.modules.cms.entity.CmsContentEntity;
import lombok.Data;

import java.util.List;

@Data
public class CollectDetailsVo implements SuperVo {

    private String id;

    @QueryKey
    @SqlKey(name = "id",valueField = "id")
    private CmsCollectEntity collect;

    @SqlKey(name = "collectId",valueField = "id")
    @QueryKey
    private List<CmsContentEntity> contentList;

}
